/**
 * @FileName AbstractExpression.java
 * @Package com.designMode.interpreter
 * -------------------------------------
 * @function Please write description of function
 * @Date 2016-1-19 下午2:45:14
 * -------------------------------------
 * Copyright (c) 2016,顾博君 All Rights Reserved.
 */
package com.designMode.interpreter;

/**
 * @author 顾博君
 * @ClassName AbstractExpression
 * @Date 2016-1-19 下午2:45:14
 * @Function 抽象表达式
 */
public abstract class AbstractExpression {
    public abstract Object interpret(Context ctx);

    /**
     * 检验两个表达式在结构上是否相同
     *
     * @param exp 表达式
     * @return 是否相同
     */
    public abstract boolean equals(AbstractExpression exp);
}
